package com.zretc.emptraining.entity;

public class ManagerApp {
	private int managerappNo;
	private int deptNo;
	private String deptName;
	private String applyReason;
	private String applyTime;
	private String passTime;
	private String applyState;

	private String ndn;
	/**
	 * 主管申请课程
	 * 
	 * @param deptNo      部门编号
	 * @param deptName    课程名
	 * @param applyReason 申请理由
	 */
	public ManagerApp(int deptNo, String deptName, String applyReason) {
		super();
		this.deptNo = deptNo;
		this.deptName = deptName;
		this.applyReason = applyReason;
	}

	/**
	 * 带参构造
	 * 
	 * @param managerappNo 主管申请编号 自增
	 * @param deptNo       部门编号
	 * @param deptName     课程名
	 * @param applyReason  申请理由
	 * @param applyTime    申请时间
	 * @param passTime     通过时间
	 * @param applyState   申请状态
	 */
	public ManagerApp(int managerappNo, int deptNo, String deptName, String applyReason, String applyTime,
			String passTime, String applyState) {
		super();
		this.managerappNo = managerappNo;
		this.deptNo = deptNo;
		this.deptName = deptName;
		this.applyReason = applyReason;
		this.applyTime = applyTime;
		this.passTime = passTime;
		this.applyState = applyState;
	}
	/**
	 * 管理员修改
	 * @param managerappNo
	 * @param deptNo
	 * @param deptName
	 * @param applyReason
	 */
	public ManagerApp(int managerappNo, int deptNo, String deptName, String applyReason) {
		super();
		this.managerappNo = managerappNo;
		this.deptNo = deptNo;
		this.deptName = deptName;
		this.applyReason = applyReason;

	}

	/**
	 * 修改课程
	 * 
	 * @param deptName    课程名
	 * @param applyReason 申请理由
	 * @param managerappNo 主管申请编号 
	 * 
	 * 
	 */
	public ManagerApp(String deptName, String applyReason, int managerappNo) {
		super();
		this.managerappNo = managerappNo;
		this.deptName = deptName;
		this.applyReason = applyReason;
	}

	public ManagerApp() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "ManagerApp [managerappNo=" + managerappNo + ", deptNo=" + deptNo + ", deptName=" + deptName
				+ ", applyReason=" + applyReason + ", applyTime=" + applyTime + ", passTime=" + passTime
				+ ", applyState=" + applyState + "]";
	}

	/**
	 * @return the managerappNo
	 */
	public int getManagerappNo() {
		return managerappNo;
	}

	/**
	 * @param managerappNo the managerappNo to set
	 */
	public void setManagerappNo(int managerappNo) {
		this.managerappNo = managerappNo;
	}

	/**
	 * @return the deptNo
	 */
	public int getDeptNo() {
		return deptNo;
	}

	/**
	 * @param deptNo the deptNo to set
	 */
	public void setDeptNo(int deptNo) {
		this.deptNo = deptNo;
	}

	/**
	 * @return the deptName
	 */
	public String getDeptName() {
		return deptName;
	}

	/**
	 * @param deptName the deptName to set
	 */
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	/**
	 * @return the applyReason
	 */
	public String getApplyReason() {
		return applyReason;
	}

	/**
	 * @param applyReason the applyReason to set
	 */
	public void setApplyReason(String applyReason) {
		this.applyReason = applyReason;
	}

	/**
	 * @return the applyTime
	 */
	public String getApplyTime() {
		return applyTime;
	}

	/**
	 * @param applyTime the applyTime to set
	 */
	public void setApplyTime(String applyTime) {
		this.applyTime = applyTime;
	}

	/**
	 * @return the passTime
	 */
	public String getPassTime() {
		return passTime;
	}

	/**
	 * @param passTime the passTime to set
	 */
	public void setPassTime(String passTime) {
		this.passTime = passTime;
	}

	/**
	 * @return the applyState
	 */
	public String getApplyState() {
		return applyState;
	}

	/**
	 * @param applyState the applyState to set
	 */
	public void setApplyState(String applyState) {
		this.applyState = applyState;
	}

	/**
	 * @return the ndn
	 */
	public String getNdn() {
		return ndn;
	}

	/**
	 * @param ndn the ndn to set
	 */
	public void setNdn(String ndn) {
		this.ndn = ndn;
	}

	

	
	
	

}
